package com.wcsy.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_collect")
public class Collect {
  @TableId(type = IdType.INPUT)
  private long collectId;
  private long userId;
  private long articleId;


  public long getCollectId() {
    return collectId;
  }

  public void setCollectId(long collectId) {
    this.collectId = collectId;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }


  public long getArticleId() {
    return articleId;
  }

  public void setArticleId(long articleId) {
    this.articleId = articleId;
  }

  @Override
  public String toString() {
    return "Collect{" +
            "collectId=" + collectId +
            ", userId=" + userId +
            ", articleId=" + articleId +
            '}';
  }
}
